Motion.SetAxisPosition method

Sets the target position of an axis.

Namespace: IntervalZero.KINGSTAR.Local.Api

Assembly: IntervalZero.KINGSTAR.Local.Api (in IntervalZero.KINGSTAR.Local.dll) Version: 4.4.0.0

Syntax

C#VB
public KsError SetAxisPosition(
       int Index,
       double Position
)
Public Function SetAxisPosition(
       Index As Integer,
       Position As Double
) As KsError

Parameters

Index

Type: int

The index of an axis. Indexes are zero based. Aliases affect this parameter.

 

Position

Type: double

The target position of an axis in user unit.

Return value

Type: KsError

A return code of a method.

Remarks

Examples

C#
N/A

See also

Motion Class

IntervalZero.KINGSTAR.Local.Api Namespace